package com.glacier.yuyuan.modules.admin.sys.service;

import com.glacier.common.core.service.TreeService;
import com.glacier.yuyuan.modules.admin.sys.domain.Menu;

import java.util.List;

/**
 * date 2022-11-10 12:11
 * 菜单业务层接口
 *
 * @author glacier
 * @version 1.0
 */
public interface MenuService extends TreeService<Menu> {
    /**
     * 根据用户id 查询菜单
     *
     * @param userId
     * @return
     */
    List<Menu> findListByUserId(String userId);
}
